package com.spark.concurrency.thread;

public class RunnableTest {
    public static void main(String[] args) {
    MyRunnable runnable = new MyRunnable();
    new Thread(runnable).start();
}
}
class MyRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println("Runnable");
    }
}